package com.ruibang.glass.sale.mapper;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruibang.glass.sale.domain.req.GSaleReturnIventoryReq;
import com.ruibang.glass.sale.entity.GSaleReturnInventory;
import com.ruibang.glass.sale.entity.SaleReturnInventoryProduct;
import com.teaming.cloud.framework2.autoconfigure.mybatisplus.mapper.CommonMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Repository
@Mapper
public interface GSaleReturnInventoryMapper extends CommonMapper<GSaleReturnInventory> {

    IPage<GSaleReturnInventory> getPage(IPage<GSaleReturnInventory> page, @Param("gSaleReturnIventoryReq") GSaleReturnIventoryReq gSaleReturnIventoryReq);

    SaleReturnInventoryProduct getSaleReturnInventoryProduct(@Param("aType") String aType);

    String getLocationName(@Param("id") String id);


}
